﻿//------------------------------------------------------------
// Game Framework
// Copyright © 2013-2021 Jiang Yin. All rights reserved.
// Homepage: https://gameframework.cn/
// Feedback: mailto:ellan@gameframework.cn
//------------------------------------------------------------

using UnityEngine;

namespace ProjectMG
{
    public static partial class Constant
    {
        /// <summary>
        /// 层。
        /// </summary>
        public static class Layer
        {
            public const string DefaultLayerName = "Default";
            public static readonly int DefaultLayerId = LayerMask.NameToLayer(DefaultLayerName);

            public const string UILayerName = "UI";
            public static readonly int UILayerId = LayerMask.NameToLayer(UILayerName);

            public const string CacheLayerName = "CacheLayer";
            public static readonly int CacheLayerId = LayerMask.NameToLayer(CacheLayerName);

            public const string MenuUILayerName = "MenuUI_2D";
            public static readonly int MenuUILayerId = LayerMask.NameToLayer(MenuUILayerName);

            public const string Main1UILayerName = "Main1UI_2D";
            public static readonly int Main1UILayerId = LayerMask.NameToLayer(Main1UILayerName);

            public const string Main1_3DUILayerName = "Main1UI_3D";
            public static readonly int Main1_3DUILayerId = LayerMask.NameToLayer(Main1_3DUILayerName);

            public const string Main2UILayerName = "Main2UI_2D";
            public static readonly int Main2UILayerId = LayerMask.NameToLayer(Main2UILayerName);

            public const string Main2_3DUILayerName = "Main2UI_3D";
            public static readonly int Main2_3DUILayerId = LayerMask.NameToLayer(Main2_3DUILayerName);

            public const string Main3UILayerName = "Main3UI_2D";
            public static readonly int Main3UILayerId = LayerMask.NameToLayer(Main3UILayerName);

            public const string MessageUILayerName = "MessageUI_2D";
            public static readonly int MessageUILayerId = LayerMask.NameToLayer(MessageUILayerName);

            public const string Entity_NPCLayerName = "Entity_NPC";
            public static readonly int Entity_NPCLayerId = LayerMask.NameToLayer(Entity_NPCLayerName);
        }
    }
}
